package com.ug.system.entity.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

/**
 * @Author LY
 * @create 2024/7/17 17:38
 * @Description tree组件目录属性
 */
@Getter
@Setter
public class TreeSelectVO {

    /**树value*/
    @JsonSerialize(using = ToStringSerializer.class)
    private Long value;
    /**树label*/
    private String label;
    /**子树*/
    private List<TreeSelectVO> children;
}
